package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * (StoneType)实体类
 *
 * @author makejava
 * @since 2020-10-26 20:31:49
 */
@ApiModel(value = "石料名称实体类")
public class StoneType implements Serializable {
    private static final long serialVersionUID = 785030375259265274L;
    /**
     * 序号
     */
    @ApiModelProperty(name = "typeId",notes = "序号",value = "序号")
    private Integer typeId;
    /**
     * 石料编码
     */
    @ApiModelProperty(name = "stoneCode",notes = "石料编码",value = "石料编码")
    private Integer stoneCode;
    /**
     * 石料名称
     */
    @ApiModelProperty(name = "stoneName",notes = "石料名称",value = "石料名称",required = true)
    private String stoneName;
    /**
     * 石料单位
     */
    @ApiModelProperty(name = "stoneUnit",notes = "石料单位",value = "石料单位",required = true)
    private String stoneUnit;

    /**
     * 石料种类状态（1：正常，0：删除）
     * @return
     */
    @ApiModelProperty(name = "stoneTypeState",notes = "石料种类状态（1：正常，0：删除）",value = "石料种类状态（1：正常，0：删除）")
    private int stoneTypeState;

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    public Integer getStoneCode() {
        return stoneCode;
    }

    public void setStoneCode(Integer stoneCode) {
        this.stoneCode = stoneCode;
    }

    public String getStoneName() {
        return stoneName;
    }

    public void setStoneName(String stoneName) {
        this.stoneName = stoneName;
    }

    public String getStoneUnit() {
        return stoneUnit;
    }

    public void setStoneUnit(String stoneUnit) {
        this.stoneUnit = stoneUnit;
    }

    public int getStoneTypeState() {
        return stoneTypeState;
    }

    public void setStoneTypeState(int stoneTypeState) {
        this.stoneTypeState = stoneTypeState;
    }

    @Override
    public String toString() {
        return "StoneType{" +
                "typeId=" + typeId +
                ", stoneCode=" + stoneCode +
                ", stoneName='" + stoneName + '\'' +
                ", stoneUnit='" + stoneUnit + '\'' +
                '}';
    }
}